{extend name="./template/mip/pub/base.html" /}
{block name="seo"}
<title>{$book.book_name}全集免费高清无修在线阅读-{$site_name}</title>
{/block}
{block name="css"}
<style mip-custom>
    mip-showmore {
        visibility: hidden;
        overflow: hidden
    }

    mip-showmore .mip-showmore-originalhtml,
    mip-showmore .mip-showmore-btnhide,
    mip-showmore .mip-showmore-btnshow {
        display: none
    }

    mip-showmore.sidsB:after {
        height: 0 !important
    }

    mip-showmore.linear-gradient:after {
        content: "";
        position: absolute;
        bottom: 0;
        display: block;
        width: 100%;
        height: 90px;
        background: -moz-linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
        background: -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff)
    }

    mip-showmore [showmorebox] {
        overflow: hidden
    }

    mip-showmore .mip-showmore-originText {
        width: 100%;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        word-wrap: break-word;
        word-break: break-all
    }

    .mip-showmore-btn {
        display: none;
        padding: 15px;
        border: 1px solid #ddd;
        background: #fafafa
    }

    .mip-showmore-btn:hover,
    .mip-showmore-btn:active {
        background: #f0f0f0
    }

    .mip-showmore-btn:after {
        display: none !important;
        background: none !important
    }

    .mip-showmore-btn-sidsA {
        color: #54becf !important;
        font-size: 14px !important;
        line-height: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        font-weight: 500 !important
    }

    .mip-showmore-btn-sidsA .down-icon {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-left: 6px;
        background-size: 100% 100%;
        position: relative;
        top: 1px;
        background-image: url('')
    }

    .mip-showmore-btn-sidsA:after {
        content: "";
        position: absolute;
        bottom: 0;
        display: block;
        width: 100%;
        height: 90px;
        background: -moz-linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
        background: -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff)
    }

    .mip-showmore-btn-sidsB {
        color: #333 !important;
        font-size: 14px !important;
        line-height: 14px !important;
        background: #f8f8f8 !important;
        position: relative !important;
        left: -12px !important;
        height: 48px !important;
        box-sizing: border-box !important;
        line-height: 48px !important;
        padding: 0 !important;
        border-top: 1px solid #eee !important;
        border-bottom: 1px solid #e2e2e2 !important
    }

    .mip-showmore-btn-sidsB .down-icon {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-left: 6px;
        position: relative;
        top: 1px;
        background-size: 100% 100%;
        background-image: url('')
    }

    .mip-showmore-nodisplay {
        display: none
    }

    .detail-list-3-info-right {
        top: 15px;
        height: 1.5rem;
    }
</style>
{/block}
{block name="content"}
<mip-fixed type="top">
    <div class="topBar">
        <a href="/" data-type="mip" data-title="首页">
            <mip-img layout="container" src="/template/mip/images/main_logo.png"
                     class="mainlogo mip-element mip-layout-container mip-img-loaded" alt="土豪漫画"
                     mip-firstscreen-element="">
            </mip-img>
        </a>
        <span class="d-fr" on="tap:right-sidebar.open">
            <mip-img id="imgMenu" class="mip-fill-content mip-replaced-content"
                     src="/template/mip/images/menu_logo.png"></mip-img>
        </span>
        <a data-type="mip" class="d-fl" href="/{$search_ctrl}">
            <mip-img layout="container" src="/template/mip/images/search_logo.png"
                     class="searchlogo mip-element mip-layout-container mip-img-loaded">
            </mip-img>
        </a>
    </div>
</mip-fixed>
<div class="detailInfo d-border">
    <!--封面图片-->
    <div class="coverForm">
        <mip-img layout="container" src="{$book.cover_url}" alt="斗破苍穹" title="斗破苍穹"
                 class="mip-element mip-layout-container mip-img-loaded" mip-firstscreen-element="">
        </mip-img>
    </div>
    <!--漫画详情-->
    <div class="detailForm ">
        <div class="main d-item">
            <div class="info d-item-content">
                <h1 class="title d-nowrap"> {$book.book_name} </h1>

                <p class="subtitle d-nowrap"> 类型：
                    {volist name="tags" id="vo"}
                    <a href="/{$booklist_act}/?tag={$vo}">{$vo}</a>&nbsp;
                    {/volist}
                </p>
                <p class="subtitle d-nowrap"> 作者： {$book.author_name} </p>
                <p class="subtitle d-nowrap"> 更新时间： {$book.last_time|date='Y-m-d'} </p>
                <p class="subtitle d-nowrap">{$clicks}次点击</p></div>
        </div>
        <ul class="am-avg-sm-2 am-thumbnails toolBar">
            <li class="am-thumbnail" id="shownextchapter">
                {if $book.is_copyright == 1}
                    <a href="{$book.src_url}">
                {else /}
                    <a href="{$mobile_url}/{$chapter_ctrl}/{$start}">
                {/if}
                    <span id="readInfo"></span>
                    <mip-img layout="container" id="readBtnImg" src="/template/mip/images/detail_btn_1_n.png" alt="阅读"
                             class="mip-element mip-layout-container mip-img-loaded" mip-firstscreen-element="">
                    </mip-img>
                </a>
            </li>
        </ul>
    </div>
</div>
<div class="detailContent">
    <mip-showmore maxheight="55" animatetime=".3" id="showmore01" class="mip-element mip-layout-container"
                  style="height: 55px; overflow: hidden; visibility: visible; transition: height 0.3s ease 0s;"
                  data-showmore-id="__showmoreincreaseId__1">
        <div class="ccontent">{$book.summary}</div>
    </mip-showmore>
    <div on="tap:showmore01.toggle" data-closetext="∧" class="mip-showmore-btn mip-showmore-btn-hide"
         style="display: inline-block; cursor: pointer;" data-opentext="∨">
        ∨
    </div>
</div>
<div class="chapterList d-border">
    <ul class="am-avg-sm-1 am-thumbnails selecter">
        <li class="ib active">目录<span></span></li>
    </ul>
    <div class="chapters" id="chapterList_1">
        <mip-showmore maxheight="215" animatetime=".3" id="showmore02" class="mip-element mip-layout-container"
                      style="height: 215px; overflow: hidden; visibility: visible;"
                      data-showmore-id="__showmoreincreaseId__2">
            <div>
                {if $book.is_copyright == 2}
                <ul class="am-avg-sm-4 am-thumbnails list">
                    {volist name="book.chapters" id="vo"}
                    <li>
                        <a href="{$mobile_url}/{$chapter_ctrl}/{$vo.id}" class="d-nowrap">
                            {$vo.chapter_name}
                            {if $vo.chapter_order >= $start_pay }
                            <img class="detail-list-3-info-right" src="/static/images/center-main-list-logo-4.png">
                            {/if}
                        </a>
                    </li>
                    {/volist}
                </ul>
                {/if}
            </div>
        </mip-showmore>
        <div on="click:showmore02.toggle" data-closetext="收起更多目录" class="mip-showmore-btn" style="display: inline-block; cursor: pointer;">
            戳我看更多目录(￣▽￣)
        </div>
    </div>
</div>
<div class="recommendList d-border mt5">
    <h2 class="top">骚年们正在看</h2>
    <div class="am-scrollable-horizontal">
        <ul class="am-avg-sm-5 am-thumbnails list f_list pagelistul">
            {volist name="recommand" id="vo"}
            <li>
                <a data-type="mip" href="{$mobile_url}/{$book_ctrl}/{$vo.param}" title="{$vo.book_name}">
                    <div class="container">
                        <mip-img layout="fill" class="halfImg mip-element mip-layout-fill mip-layout-size-defined mip-img-loaded"
                                 src="{$vo.cover_url}" alt="{$vo.book_name}" mip-firstscreen-element="">
                        </mip-img>
                    </div>
                </a>
                <p><a data-type="mip" href="{$mobile_url}/{$book_ctrl}/{$vo.param}" title="{$vo.cover_url}">{$vo.book_name}</a></p>
            </li>
            {/volist}
        </ul>
    </div>
</div>

<div class="recommendList d-border mt5">
    <h2 class="top">用户评论</h2>
    <div class="am-scrollable-horizontal">
        <ul class="postlist clearfix">
            {volist name="comments" id="vo"}
            <li class="dashed">
                <div class="cover">
                    <mip-img layout="container" src="/static/images/mrtx.gif"
                             class="mip-element mip-layout-container mip-img-loaded" mip-firstscreen-element="">
                    </mip-img>
                </div>
                <div class="info">
                    <p class="title">{$vo.user.nick_name|default=$vo.user.username}</p>
                    <p class="content">{$vo.content|raw}</p>
                    <p class="bottom">
                        {$vo.create_time|date='Y-m-d'}
                    </p>
                </div>
            </li>
            {/volist}
        </ul>
    </div>
</div>

{/block}